﻿using BJ.AuthEntity.Models;
using BJ.AuthEntity.ViewModels;
using Syspetro.Core.DbAccessor;
using Syspetro.Core.SysInterface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BJ.AuthDomain.IService
{
    public interface IMenuService : IEntityBaseService<Menu>, ITransientService
    {
        Task<List<VM_Menu>> FindMenusAsTreeCte();
        Task<List<VM_RoleMenu>> GetRoleMenus(Guid roleId);

        Task<bool> AuthMenus(VM_AuthMenus authMenus);
    }
}
